package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class Salary extends BaseDomain {

    private String employeeusername;

    private String deptname;

    private String tel;

    private String email;

    private String basicsalary;

    private String bonus;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date hiredate;

    private String annualsalary;//年薪

    private String employmentmethod;//雇佣方式

    private String payrollmethod;//计薪方式

    private String taxmethod;//计税方式

    private String postsalary;//岗位薪资


}